package com.yyx.up.common.bean;

import java.io.Closeable;

/**
 * Description: 生产者接口
 * @Author: yyx
 * @Create: 2023/4/9 14:27
 * @Version: 8
 */
public interface Producer extends Closeable {
    public void setIn(DataIn in);
    public void setOut(DataOut out);

    /**
     * 生产数据
     */
    public void produce();
}
